Duo Pinball v1.2a for PC by Alexander Atkin http://csdprojects.co.uk/

Keyboard simulation thanks to Input Simulator http://inputsimulator.codeplex.com/

Developed for use with Pinball FX2 and Pinball Arcade

Flippers are mapped to left and right shift.  Plunger is mapped spacebar.
As you pull down the plunger space is held, when you let go of the plunger it strikes an internal button
that will trigger releasing of the space bar.  This simulates a real plunger as closely as possible short of
actual analog plunger support, which would need a joypad driver to work.

I am hoping to be able to replace inputsimulator with ScpControl from the DS4Tool so I can simulate 
an Xbox 360 controller instead but I make no promises as this is my first functional C# application.

Known Bugs:
-----------

If the application is closed while a button/plunger is still being held down then that key will remain held.
Simply press the corresponding key on your keyboard a few times or (if possible) launch the application again
and the key presses will be reset.

Changelog:
----------

1.0
    Initial release

1.1 
    Typo fixed where it said "Flippers Released" instead of "Pressed" when you held both fippers.

    Added code to automatically reconnect after 280 seconds idle as Duo Pinball goes to sleep after this time.

    Added code to check carrier on the serial port so it automatically tries to reconnect if you go out of range of
    bluetooth or replace the batteries.
1.2
    Icon and title added.
1.2a
    Cleaned up some resource leaks and updated to .NET Framework 4.8.
